package org.erp.spu.entity;



import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import org.erp.common.basic.BaseEntity;




/**
 * 分类表(SpuCategory)表实体类
 *
 * @author makejava
 * @since 2025-11-05 10:10:33
 */
@Data
public class SpuCategory extends BaseEntity{
    //id
    @TableId(type = IdType.AUTO)
    private Long id;
    //分类名称
    private String categoryName;
    //类目状态 0否 1是
    private String status;
    //排序值
    private Integer sort;

    //逻辑删除 0存在 1删除
    @TableLogic
    private Integer delFlag;
    //父级id
    private Long parentId;
    //类目等级
    private Integer categoryLevel;






}

